<?php
	require_once 'MessageService.class.php';
	//接收信息
	$sender = $_POST['sender'];
	$getter = $_POST['getter'];
	$con = $_POST['con'];
	
	
	//创建MessageService对象
	$mesServ = new MessageService();
	$res = $mesServ->addMessage($sender,$getter,$con);
	if($res == 1){
		//echo 
	}else{
		echo "err";
	}
	//把信息输出到文件中
	//file_put_contents("d:/mylog.log",$sender."|".$getter."|".$con."\r\n",FILE_APPEND);
	